﻿using System;
using BlobNet.Base;
using BlobNet.Base.DataProviders;
using BlobNet.Base.Storage;

namespace BlobNet.TestsCommon.Utils
{
    internal class PersistentStorageManagerTestHelper : PersistentStorage
    {
        private readonly IDataProvider _dataProvider;

        public PersistentStorageManagerTestHelper(Guid idEntity, BlobDomain blobDomain, IDataProvider dataProvider)
            : base(idEntity, blobDomain)
        {
            _dataProvider = dataProvider;
        }


        protected override IDataProvider DataProvider
        {
            get { return _dataProvider; }
        }
    }
}